
package com.kugou.game.sdk.entity;

import com.kugou.framework.http.HttpResponse;

/**
 * 响应消息类,这是支付模块，请求服务器成功后肯定会返回的字段实体
 * 
 * @author ljc
 * @since 2013-12-5 上午9:39:17
 */
public class ResponseMessage extends HttpResponse {

    private static final long serialVersionUID = 172606519126072704L;

    private String code;

    private String message;

    private String prompt;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getPrompt() {
        return prompt;
    }

    public void setPrompt(String prompt) {
        this.prompt = prompt;
    }

    public boolean isUseful() {
        return "1".equals(code);
    }

}
